package book.dao.impl;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import book.dao.BaseDao;
import book.dao.CategoryDao;
import book.entity.Category;

public class CategoryDaoImpl extends BaseDao<Category> implements CategoryDao{

	@Override
	public Category getCategory(Connection connection, String sql, Class<Category> clazz, Object... args) throws SQLException {
		
		return get(connection, sql, clazz, args);
	}

	@Override
	public List<Category> getCategoryList(Connection connection, String sql, Class<Category> clazz, Object... args) throws SQLException {
		
		
		return getList(connection, sql, clazz, args);
	}

}
